package com.aiyige.base.api;

import android.os.Handler;
import android.os.Looper;

/**
 * Created by xiachao on 2017/8/10.
 */

public class HandlerUtil {
    private static Handler mainHandler = null;

    public static Handler getMainHandler() {
        if (mainHandler == null) {
            mainHandler = new Handler(Looper.getMainLooper());
        }
        return mainHandler;
    }
}
